const corsOptions = {
    origin: '*',
    methods: 'GET,HEAD,PUT,PATCH,POST,DELETE',
    allowedHeaders:'*',
    credentials: true, // 可发送cookie
    preflightContinue: false,
    optionsSuccessStatus: 204, // 浏览器兼容
}
module.exports = corsOptions;
